package com.ruoyi.eqmonitor.dispose.service;

import java.text.ParseException;
import java.util.List;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.eqmonitor.dispose.domain.ExteriorSiteAlarm;
import com.ruoyi.eqmonitor.dtos.CockpitRiverwayAlarmDto;
import com.ruoyi.eqmonitor.dtos.OptDeviceAlarmDto;

/**
 * @author ruoyi
 * @date 2023-04-11
 */
public interface IExteriorSiteAlarmService extends IService<ExteriorSiteAlarm> {

    public ExteriorSiteAlarm selectExteriorSiteAlarmById(Long id);

    public List<ExteriorSiteAlarm> selectExteriorSiteAlarmList(ExteriorSiteAlarm exteriorSiteAlarm);

    //获取最新报警
    List<ExteriorSiteAlarm> getNewestAlarm();

    List<OptDeviceAlarmDto> cockpitRiverwayAlarm(CockpitRiverwayAlarmDto dto);

    /**
     * 修改报警记录状态为处置中
     */
    public boolean updateConfirmAlarmToInDisposal(String alarmId,Integer state);
  
}
